﻿using GameView.Models;

namespace GameView.Services.Comment
{
    public interface IHttpService
    {
        Task<ApiResponse<T>> PutAsync<T>(string url, object data);
        Task<ApiResponse<T>> DeleteAsync<T>(string url);
        Task<ApiResponse<T>> GetAsync<T>(string url);
        Task<ApiResponse<T>> PostAsync<T>(string url, object data);
    }
}